#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libmms
pkgver=0.6.4
pkgrel=3
pkgdesc="MMS stream protocol library"
arch=(x86_64)
url="https://sourceforge.net/projects/libmms/"
license=(LGPL)
depends=('glibc')
source=(https://download.sourceforge.net/libmms/${pkgname}-${pkgver}.tar.gz)
sha256sums=('3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
